package com.spark.bitrade.controller;

import com.spark.bitrade.entity.transform.AuthMember;
import com.spark.bitrade.util.MessageResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.SessionAttribute;

import static com.spark.bitrade.constant.SysConstant.SESSION_MEMBER;

@RestController
@RequestMapping("/api")
public class ApiKeyController {


    public MessageResult createApiKey(@SessionAttribute(SESSION_MEMBER) AuthMember user){
        return MessageResult.success();
    }
}
